let o: string | number = '12'
function fn(id: number | string | boolean) {
    // console.log(id.length);
    if (typeof id === 'string') {
        console.log(id.length);
    }
}
fn('545642')
fn(2)
export { }